package com.weixinli.dao;

import com.weixinli.beans.Diary;

public interface IDiaryDao {
	/**
	 * 添加日志
	 * @param dy
	 * @return
	 */
	public int addDiary(Diary dy);
	
	/**
	 * 删除日志
	 * @param did
	 * @return
	 */
	public int delDiary(Integer did);
	
	/**
	 * 设置状态
	 * @param did
	 * @return
	 */
	public int setStatus(Integer did);
	
	/**
	 * 设置置顶
	 * @param did
	 * @return
	 */
	public int setUp(Integer did);
}
